package com.vue.admin.system.service;

import com.alibaba.fastjson.JSONArray;
import com.vue.admin.system.model.SysDept;

import java.util.List;

/**
 * @Classname DeptService
 * @Description TODO
 * @Date 2022/8/21 11:45
 * @Created by XiongXiong
 * @Author: X.I.O
 */
public interface DeptService {

    public SysDept getById(Object id);

    public SysDept updateById(SysDept sysDept);

    public SysDept save(SysDept sysDept);

    public List<SysDept> list();

    public List<SysDept> excludeList(Object id);

    public JSONArray deptTreeList();

}
